package com.zhiyou.hospital.ssh.util;

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

/**
 * Created by zhouyanchao on 2017/10/16.
 * Descr:
 */
public class LogHelper {

	/**
	 * Created by zhouyanchao on 2017/10/16
	 * Descr: 使用指定的Class的name作为打印日志的来源
	 *
	 */
	public static LogUtil getLogUtilInstance(Class c){
		LogUtil util = new LogUtil(c);
		return util;
	}

	public static LogUtil getLogUtilInstance(){
		LogUtil util = new LogUtil();
		return util;
	}

	public static LogUtil getLogUtilInstance(String name){
		LogUtil util = new LogUtil(name);
		return util;
	}

}
